package org.example.lys.design.template.draw;

import org.example.lys.design.template.VO.AwardBriefVO;
import org.example.lys.design.template.VO.StrategyRich;

/**
 * @author liyishan
 * @date 2023/5/29 10:04
 * @apiNote   抽奖策略数据支撑，一些通用的数据服务
 */

public class DrawStrategySupport extends DrawConfig {


    /**
     * 查询策略配置信息
     *
     * @param strategyId 策略ID
     * @return 策略配置信息
     */
    protected StrategyRich queryStrategyRich(Long strategyId){
        System.out.println("找到策略ID为"+strategyId+"的策略配置信息");
        return new StrategyRich();
    }

    /**
     * 查询奖品详情信息
     *
     * @param awardId 奖品ID
     * @return 中奖详情
     */
    protected AwardBriefVO queryAwardInfoByAwardId(String awardId){
        System.out.println(awardId+"中奖品详情");
        return new AwardBriefVO();
    }


}
